package com.sduept.nwld.kpi.model;

import javax.persistence.MappedSuperclass;

import com.sduept.core.entity.IdentifiedObject;

/**
 * KPI指标抽象类，可派生不同类型的KPI指标
 *
 */
@MappedSuperclass
public abstract class KpiAbstractObject extends IdentifiedObject {

	/**
	 * 
	 */
	protected static final long serialVersionUID = -4031735868010006289L;

	/**
	 * 指标分组
	 */
	protected String kpiGroup;
	
	/**
	 * 指标级别ID
	 */
	protected String kpiLevel;
	
	/**
	 * 指标目的
	 */
	protected String kpiTarget;
	
	/**
	 * 公式描述
	 */
	protected String formulaDesc;
	
	/**
	 * 用户
	 */
	protected String user;

	
	/**
	 * 数据源描述
	 */
	protected String dataSourceDesc;
	/**
	 * 公式（数据源如：继电保护装置正确动作次数的数据源对象/继电保护装置动作总次数的数据源*100%）
	 */
	protected String kpiFormula;
	
	/**
	 * 根据数据源数据源可靠度计算出的可靠度
	 */
	private int reliabilityValue ;

	public String getKpiGroup() {
		return kpiGroup;
	}

	public void setKpiGroup(String kpiGroup) {
		this.kpiGroup = kpiGroup;
	}

	public String getKpiTarget() {
		return kpiTarget;
	}

	public void setKpiTarget(String kpiTarget) {
		this.kpiTarget = kpiTarget;
	}

	public String getFormulaDesc() {
		return formulaDesc;
	}

	public void setFormulaDesc(String formulaDesc) {
		this.formulaDesc = formulaDesc;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}


	public String getKpiFormula() {
		return kpiFormula;
	}

	public void setKpiFormula(String kpiFormula) {
		this.kpiFormula = kpiFormula;
	}

	public String getDataSourceDesc() {
		return dataSourceDesc;
	}

	public void setDataSourceDesc(String dataSourceDesc) {
		this.dataSourceDesc = dataSourceDesc;
	}

	public int getReliabilityValue() {
		return reliabilityValue;
	}

	public void setReliabilityValue(int reliabilityValue) {
		this.reliabilityValue = reliabilityValue;
	}

	public String getKpiLevel() {
		return kpiLevel;
	}

	public void setKpiLevel(String kpiLevel) {
		this.kpiLevel = kpiLevel;
	}

}
